Bundler for JavaScript
· 2 min read
WebPack
- For JS, CSS, HTML
- Popular
- Slow
- Complex configuration
- Written in JavaScript
RsPack
- WebPack compatible API
- Written in Rust
- Created by ByteDance
Rollup
- For JS
- Faster than WebPack
- Support
import
ES6, CommonJS, ... - Support output format: AMD, CommonJS, ES, IIFE, UMD, SystemJS
- Written in JavaScript
ESBuild
- For JS, JSX
- Extremely fast
- Written in Go
Bun
- Bun is all-in-one toolkit, include:
- JavaScript / TypeScript runtime
- Package manager
- Bundler
- Test runner
- For TS, JS, JSX
- Extremely fast
- Written in Zig
- Use JavaScriptCore (WebKit) as JS engine
Vite
- Recommended
- For TS, JS, CSS, HTML
- Faster
- Vite use Rollup for
vite build
- Vite use ESBuild for
vite dev
Farm
- Written in Rust
- Vite compatible
Mako
- Written in Rust
- Used by Ant Group
Parcel
- For JS, CSS, HTML
- Zero configuration
- Slow
- Written in JavaScript
Parcel 2
- Built on SWC (Rust based)
- For JS, CSS, HTML
- Zero configuration
- Not stable
- Written in JavaScript